<?php
if(!session_id()) { session_start(); }
include_once('../classes/stock.class.php');
$stock = new Stock();
$results = $stock->GetPrice($_POST['id']);
echo $results[0]['stock_price'];
?>